<template>
  <div>
    <my-input v-model="inputVal" @input="weiba"></my-input>{{ inputVal }}
  </div>
</template>
<script>
import myInput from "@/views/lesson10/myInput.vue";

export default {
  components: {
    myInput,
  },
  data() {
    return {
      inputVal: "",
    };
  },
  methods: {
    weiba(arr) {
      this.inputVal = arr;
    },
  },
};
</script>
<style scoped>
</style>
